<?php
/**
 * @author Tuong Tran <tuong.tran@outlook.com>
 */

$this->breadcrumbs = array(
    'Resource manager' => array('/resource'),
    'Upload resource' => array('/resource/create'),
    'Update Resource'
);
?>
<ul class="nav nav-tabs">
    <li>
        <a href="<?php echo url('/resource') ?>">
            <i class="splashy-documents"></i>
            Manage
        </a>
    </li>
    <li>
        <a href="<?php echo url('/resource/create') ?>">
            <i class="splashy-document_letter_add"></i> Upload
        </a>
    </li>
    <li class="active">
        <a href="#update">
            <i class="splashy-document_letter_edit"></i> Update
        </a>
    </li>
</ul>
<div class="tab-content">
    <div class="tab-pane active" id="update">
        <?php
        $this->renderPartial('_form', array('model' => $model))
        ?>
    </div>
</div>
